links disappeared

Hi,

(we use DOORS 9.1)

We have specification module Module_S and two validation modules Module_V1 and Module_V2.
In link module Validate we have two LinkSets :
Module_V1 -> Module_S
Module_V2 -> Module_S

As in validation modules some informations must be linked together, we have also link module Test_Objective with two Liksets :
Module_V1 -> Module_V1
Module_V2 -> Module_V2

We worked on these modules past year and created links in the linksets. Everything was OK.

After some month of not use, we open again these modules.
All links inside linkset Module_V2 -> Module_S disappeared.
Others links inside other linksets are OK.

??????

Question 1 : Has somebody found this problem ?
Question 2 : A solution ?

We have database saves but only on the last month, the disappearance is too old.
We have project archive but, of course, this archive was not made between the end of work and the disappearance of the links.

Question 3 : is it possible do project archive by script and windows task planning ?

Pierre
PDU - Wed Feb 06 01:47:34 EST 2013

Re: links disappeared
llandale - Wed Feb 06 10:11:35 EST 2013

Is the linkset itself there? Open the Link Module and take a look. Also try to look at the History in the Link Module, specifically object delete History.

Can you see the links in source V1 but not in target S?

Try the above as yourself, also as the Administrator.

-Louie

Re: links disappeared
PDU - Wed Feb 06 12:15:34 EST 2013

llandale - Wed Feb 06 10:11:35 EST 2013
Is the linkset itself there? Open the Link Module and take a look. Also try to look at the History in the Link Module, specifically object delete History.

Can you see the links in source V1 but not in target S?

Try the above as yourself, also as the Administrator.

-Louie

Hi Louie,

(note : no problem with V2)

linkset Module_V2 -> Module_S exist but is empty.

in source Module_V2, when i look history of an object i see :

Link module: /410282_ISS_SECU_DCNS/ModulesLiens/Valide (Purged) Target module: /410282_ISS_SECU_DCNS/01_ISS_SECU/01_Spécifications/09E61152_ISS_SECU_STB, object 2960


In link module Validate , linkset Module_V2 -> Module_S is empty, others not.
In the link module history, i don't see information about the 'purge' memorized in each object of Module_V2 about link module.

Pierre

Re: links disappeared
llandale - Wed Feb 06 12:38:51 EST 2013

PDU - Wed Feb 06 12:15:34 EST 2013
Hi Louie,

(note : no problem with V2)

linkset Module_V2 -> Module_S exist but is empty.

in source Module_V2, when i look history of an object i see :


Link module: /410282_ISS_SECU_DCNS/ModulesLiens/Valide (Purged) Target module: /410282_ISS_SECU_DCNS/01_ISS_SECU/01_Spécifications/09E61152_ISS_SECU_STB, object 2960


In link module Validate , linkset Module_V2 -> Module_S is empty, others not.
In the link module history, i don't see information about the 'purge' memorized in each object of Module_V2 about link module.

Pierre

I see link modules don't have History. Odd. Anyway, run this from your link module:

Object o 

for o in (current Module) 

do 
{  print (o.
"Created On") 
"\t" (o.
"Source") 
"\t->" (o.
"Target") 
"\n" 
}

I'm guessing your linkset was deleted and re-created, removing all the links

-Louie

Re: links disappeared
PDU - Thu Feb 07 01:39:42 EST 2013

llandale - Wed Feb 06 12:38:51 EST 2013
I see link modules don't have History. Odd. Anyway, run this from your link module:


Object o 

for o in (current Module) 

do 
{  print (o.
"Created On") 
"\t" (o.
"Source") 
"\t->" (o.
"Target") 
"\n" 
}

I'm guessing your linkset was deleted and re-created, removing all the links

-Louie

Hi,

I see :
first_date Module_V1 -> Module_S
second_date Module_V2 -> Module_S
others_dates others Module_Vx -> Module_S

"last Modified On" don't give more information, same dates.

and of course none information about deletion.

Perhaps you are right about deletion and re-creation but nobody remember.

Pierre

Re: links disappeared
llandale - Thu Feb 07 13:51:17 EST 2013

PDU - Thu Feb 07 01:39:42 EST 2013
Hi,

I see :
first_date Module_V1 -> Module_S
second_date Module_V2 -> Module_S
others_dates others Module_Vx -> Module_S

"last Modified On" don't give more information, same dates.

and of course none information about deletion.

Perhaps you are right about deletion and re-creation but nobody remember.

Pierre

If the linkset had been deleted and re-created you should see that "second_date" is much more recent than the others. If it is in-line with the others, then the links were either deleted individually, or for some reason are invisible.

Try the following from your link module, but I doubt it will help

Buffer       gl_psnConversion_Results = create(8)    
// Local buffer to the following functions. 
//******************************** string     fStringOfAr(AccessRec ar) 
{         
// Get the string Permissions associated with the AccessRec; 
// e.g, 'RMCDA' or 'RM'   

if (

null ar)  

return(
"") gl_psnConversion_Results  = 
"" 

if (read(ar))       gl_psnConversion_Results += 
"R" 

if (modify(ar))     gl_psnConversion_Results += 
"M" 

if (create(ar))     gl_psnConversion_Results += 
"C" 

if (delete(ar))     gl_psnConversion_Results += 
"D" 

if (control(ar))    gl_psnConversion_Results += 
"A"   

if (length(gl_psnConversion_Results) == 0) gl_psnConversion_Results = 
"None" 

return(stringOf(gl_psnConversion_Results)) 
}    
// end fStringOfAr(ar)       Object o AccessRec ar bool   IsInherited 

for o in (current Module) 

do 
{  print (o.
"Source") 
"\t->\t" (o.
"Target") 
"\n" isAccessInherited(o, IsInherited) 

if (IsInherited) 
// then print 
"\tInherited\n" 

else print 
"\tSpecific\n" 

for ar in all o 

do 
{  print 
"\t\t" fStringOfAr(ar) 
"\t" 

if (isDefault(ar)) 
// then print 
"Everyone else" 

else print (name(ar)) 
"" print 
"\n" 
} 
}

-Louie

Re: links disappeared
PDU - Fri Feb 08 00:52:06 EST 2013

llandale - Thu Feb 07 13:51:17 EST 2013
If the linkset had been deleted and re-created you should see that "second_date" is much more recent than the others. If it is in-line with the others, then the links were either deleted individually, or for some reason are invisible.

Try the following from your link module, but I doubt it will help


Buffer       gl_psnConversion_Results = create(8)    
// Local buffer to the following functions. 
//******************************** string     fStringOfAr(AccessRec ar) 
{         
// Get the string Permissions associated with the AccessRec; 
// e.g, 'RMCDA' or 'RM'   

if (

null ar)  

return(
"") gl_psnConversion_Results  = 
"" 

if (read(ar))       gl_psnConversion_Results += 
"R" 

if (modify(ar))     gl_psnConversion_Results += 
"M" 

if (create(ar))     gl_psnConversion_Results += 
"C" 

if (delete(ar))     gl_psnConversion_Results += 
"D" 

if (control(ar))    gl_psnConversion_Results += 
"A"   

if (length(gl_psnConversion_Results) == 0) gl_psnConversion_Results = 
"None" 

return(stringOf(gl_psnConversion_Results)) 
}    
// end fStringOfAr(ar)       Object o AccessRec ar bool   IsInherited 

for o in (current Module) 

do 
{  print (o.
"Source") 
"\t->\t" (o.
"Target") 
"\n" isAccessInherited(o, IsInherited) 

if (IsInherited) 
// then print 
"\tInherited\n" 

else print 
"\tSpecific\n" 

for ar in all o 

do 
{  print 
"\t\t" fStringOfAr(ar) 
"\t" 

if (isDefault(ar)) 
// then print 
"Everyone else" 

else print (name(ar)) 
"" print 
"\n" 
} 
}

-Louie

Hi,

you are right, this script show linksets with Access rights, inherited from module (and from project).

When you write "or for some reason are invisible", how is it possible ? And is it possible recover visibility ?

Re: links disappeared
llandale - Fri Feb 08 12:42:59 EST 2013

I guess someone deleted the links.